<template>
  <tr>
    <input type="text" v-model.number="fruits.count" />
    <span>{{ fruits.goodsName }}</span>
    <span v-if="!fruits.count">卖光了！！！</span>
  </tr>
</template>

<script>
export default {
  props: ["fruits"],
};
</script>

<style>
</style>